<?php

// Composer: "fzaninotto/faker": "v1.3.0"
use Faker\Factory as Faker;

class StaffTableSeeder extends Seeder {

	public function run()
	{
		$faker = Faker::create();

		foreach(range(1, 10) as $index)
		{
			Staff::create([
                'name'   => $faker->sentence($nbWords = 3),
                'tel'    => $faker->randomNumber(4),
                'address'    => $faker->sentence($nbWords = 10),
                'cu_count' => $faker->randomNumber(3),
                'all_points' => $faker->randomNumber(6),
                'use_points' => $faker->randomNumber(5),
			]);
		}
	}

}